{literal}
<script language=javascript><!--
function viewStatistics(id)
{
  w = 400; h = 600;
  t = (screen.height-h-30)/2;
  l = (screen.width-w-30)/2;
  window.open('?a=view_statistics&lid=' + id, 'view_statistics' + id, "top="+t+",left="+l+",width="+w+",height="+h+",resizable=1,scrollbars=1");
}
--></script>
{/literal}

<div class="MainContent">
<div class="box1 Box1Style2"><span class="Box1Text">Search Result</span></div>
<div class="box2">
<table cellspacing=8 cellpadding=0 border=0 width=100%>
{if $listings}
{section name=l loop=$listings}
<tr>
 <td>
{assign var="listing" value=$listings[l]}
{if $listing.group_id == $premiumGroupId
		|| $listing.group_id == $scamGroupId
		|| $listing.group_id == $closeGroupId
	}
		{include file="details_program.tpl"}
	{/if}
 </td>
</tr>
{/section}
{else}
    <tr>
     <td align=center>
      <br>Currently there are no items founded!<br><br>
     </td>                                                                                             
    </tr>
{/if}
</table>
</div>
</div>
